{% extends 'layout.html' %}

{% block content %}
<div id=content>
  <!-- <h1>购物车商品--没有取到数据</h1> -->
  <a href="/detail/?id={{goods.id }}"> <img src="/static/goods/{{goods.goods_img }}"  style="width:200px; height: 100px;"/>
  <!-- <a href="/detail/?id={{goods.id }}">为何没取到图 -->
    <!-- <img src="/static/goods/{{goods.goods_img }}"   style="width:100px; height: 100px;">           -->
  </a>

  <!-- <li><img src="/static/goods/{{cart_goods.goods_img}}.jpg"></a></li> -->
  <!-- <img src="/static/goods/{{cart_goods.goods_img }/">  -->
  <!-- <a href="/detail/?id={{goods.id }}">
    <img src="/static/goods/{{goods.goods_img }}" />
  </a> -->
  <!-- <a href="/detail/?id={{goods.id }}">
    <img src="/static/goods/{{goods.goods_img }}">

  </a> -->
  <span></span>
<ul class="subnav">##cart_goods_list
  {% for cart_goods in cart_goods_list %}
  <ul>
  <!-- <li><img src="/static/goods/{{goos.goods_img}}.jpg"></a></li> -->
  <li><img src="/static/goods/{{ cart_goods.goods_img}}"></a></li>
  <li>{{ cart_goods.goods.name }}g<br><em>{{ cart_goods.goods.price }}</em>元</li>
  <li>{{ cart_goods.goods.price }}</li>
  <li>{{ cart_goods.goods.num }}</li>
  <li>{{ cart_goods.total_money  }}</li>

  <li><a href="/cart/remove_cart/?id={{cart_goods.id}}">删除购物车商品</a></li>
</ul>
  {% endfor %}
</ul>



</div>
{% endblock %}